package com.badger.model;

import java.io.Serializable;

public class City implements Serializable {

    private static final long serialVersionUID = 6955023150002543273L;

    private String id;

    private String name;

    private Integer level;

    private String parentId;
    //省略get set

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "City [id=" + id + ", name=" + name + ", level=" + level + ", parentId=" + parentId + "]";
    }
}
